<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="com.pathpad.hibernate.PPUserCommonPad"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PathPad</title>
</head>
<body>

<h2>${hello_1}</h2>

<h2>${hello_2}</h2>
<a href="index.jsp">[logout]</a>
<%
	List<PPUserCommonPad> resultPPUserCommonPadList = (List<PPUserCommonPad>) request
			.getAttribute("userWebResultList");
%>
<table>
	<%
		for (PPUserCommonPad ppUserCommonPad : resultPPUserCommonPadList) {
	%>
	<tr>
		<td>Web Site:</td>
		<td><a href="http://<%=ppUserCommonPad.getWebID()%>"
			target="_blank"><%=ppUserCommonPad.getWebName()%></a></td>
	</tr>
	<%
		}
	%>
</table>

<form action="add.do" method="post">
<table>
	<tr>
		<td>Web Name:</td>
		<td><input id="webName" name="webName" type=text value="" /></td>
	</tr>
	<tr>
		<td>Web Link:</td>
		<td><input id="webURL" name="webURL" type=text value="" /></td>
	</tr>
	<tr>
		<td colspan="2"><input type="submit" value="Add" /></td>
	</tr>
</table>
</form>
</body>
</html>